Companion

object Companion

Functions

Link copied to clipboard
fun configure(builder: MoEngage.Builder, integrationPartner: IntegrationPartner)

Configure the MoEngage SDK to work with IntegrationPartner SDKs.

Link copied to clipboard

Configure the default instance of MoEngage SDK to work with IntegrationPartner SDKs.

Link copied to clipboard

Initialise the default instance of SDK with configuration provided in MoEngage

Initialise the default instance of SDK with configuration provided in MoEngage and SDK state, i.e. whether the SDK should be in enabled or disabled state.

fun initialiseDefaultInstance(application: Application, workspaceId: String, dataCenter: DataCenter, builderConfig: MoEngage.Builder.() -> Unit)

Initialise the default instance of SDK with configuration provided in the builderConfig

fun initialiseDefaultInstance(application: Application, workspaceId: String, dataCenter: DataCenter, sdkState: SdkState, builderConfig: MoEngage.Builder.() -> Unit)

Initialise the default instance of SDK with configuration provided in the builderConfig and SDK state, i.e. whether the SDK should be in enabled or disabled state. By default, the SDK is enabled. Use this API only if you have a requirement to enable/disable SDK.

Link copied to clipboard

Initialise the SDK with configuration provided in MoEngage

fun initialiseInstance(moEngage: MoEngage, sdkState: SdkState)

Initialise the SDK with configuration provided in MoEngage and SDK state, i.e. whether the SDK should be in enabled or disabled state.

fun initialiseInstance(application: Application, workspaceId: String, dataCenter: DataCenter, builderConfig: MoEngage.Builder.() -> Unit)

Initialise the default instance of SDK with configuration provided in the builderConfig

fun initialiseInstance(application: Application, workspaceId: String, dataCenter: DataCenter, sdkState: SdkState, builderConfig: MoEngage.Builder.() -> Unit)

Initialise the default instance of SDK with configuration provided in the builderConfig and SDK state, i.e. whether the SDK should be in enabled or disabled state. By default, the SDK is enabled. Use this API only if you have a requirement to enable/disable SDK.